package com.zhny.aiot.bighouse.quilt.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;


public class QuiltStoreEntry extends StoreEntity {

    @PropertyValue(alias = "卷帘机",description = "卷帘机状态",unit = "",icon=IconConstract.Other,variableType=VariableType.Quilt,actions={
            @ActionValue(name=Operate.Value,commandCode="value",paramClass=AdjustableParam.class,eventType=EventType.Input),
            @ActionValue(name=Operate.Stop,commandCode="stop",eventType=EventType.Click),
            @ActionValue(name=Operate.Query,commandCode="query",eventType=EventType.Click)
    })
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status=status;
    }

    @Override
    public String toString() {
        return String.format ("Quilt Status is %s",status);
    }
}
